package com.cloud.logger.zchain.zchainserver.mapper;

import com.cloud.logger.zchain.zchainserver.base.MyMapper;
import com.cloud.logger.zchain.zchainserver.entity.AngelaLoggerProject;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * User: wcy
 * Date: 2017/11/2
 * Time: 16:33
 */
//@Service
//public interface ProjectMapper extends MyMapper<AngelaLoggerProject> {
//    @Select("select * from angela_logger_project where parent_node = ${parentNode} ")
//    List<AngelaLoggerProject> findByParentNode(@Param("parentNode")long parentNode);
//    @Update("update angela_logger_project set active_time = '${date}' where code ='${code}' ")
//    void updateProjectActiveTime(@Param("code") String code, @Param("date") String date);
//}
